﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace CMK
{
    class Player
    {
        Vector3 postion;
        int width;
        float visible;
        int playerIndex;
        Texture2D texture;

        public Player(Vector3 pos, int width,  float vis, int index)
        {
            this.postion = pos;
            this.visible = vis;
            this.playerIndex = index;
            this.width = width;

        }

        public Vector3 getPosition()
        {
            return this.postion;
        }

        public void setPosition(Vector3 pos)
        {
            this.postion = pos;
        }


        public void setPlayerIndex(int index)
        {
            this.playerIndex = index;
        }


        public int getPlayerIndex()
        {
            return this.playerIndex;
        }

        public Texture2D getTexture()
        {
            return this.texture;
        }
       
        public void setTexture(Texture2D tex)
        {
            this.texture = tex;
        }


        public int getWidth()
        {
            return this.width;
        }

        public void setWidth(int value)
        {
            this.width = value;
        }


        public float getVisible()
        {
            return this.visible;
        }

        public void setVisible(float value)
        {
            this.visible = value;
        }
    }
}
